/*
 * Copyright (c) 2018-2020 Nordic Semiconductor ASA
 *
 * SPDX-License-Identifier: Apache-2.0
 */

int lll_prepare_done(void *param);
int lll_done(void *param);
bool lll_is_done(void *param);
u32_t lll_evt_offset_get(struct evt_hdr *evt);
u32_t lll_preempt_calc(struct evt_hdr *evt, u8_t ticker_id,
		u32_t ticks_at_event);
void lll_chan_set(u32_t chan);

#if IS_ENABLED(CONFIG_BT_CTLR_ENABLE_ADV_SCAN_OOB_FREQ)
/** @brief Set radio frequency for RX/TX to provided one
 *
 * The function sets a frequency to provided one. The frequency
 * is an offset from lowest handled by radio frequency 2.4GHz.
 * The frequency offset (like channel number) is provided to
 * whitening if that should be enabled.
 *
 * @param[in] freq		Offset from carried frequency in MHz
 * @param[in] en_whiten	If true then whitening is enabled
 */
void lll_freq_set(u32_t freq, bool en_whiten);
#endif /* CONFIG_BT_CTLR_ENABLE_ADV_SCAN_OOB_FREQ */
